package org.jsbd.boss.dao;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.Comment;

public interface ICommentDao {

	void save(Comment comment);
	
	void save(List<Comment> list);

	void update(Comment comment);
	
	void updateUsed(Comment comment);

//	Comment get(Comment comment);
	
	Comment getById(Integer id);
	
	Comment getByMark(String mark);

	List<Comment> getList(Comment comment);

	Map<String, Object> getListPage(DataGridModel page, Comment comment);

	void delete(List<Integer> ids); 
	
	void updateUsedByMark(String mark);

}
